#!/bin/bash


# sudo zypper in terminus-font

sudo zypper install  dejavu-fonts
sudo zypper in  texlive-dejavu-fonts

## 中文界面请安装简体中文语言包 
# sudo zypper install  

## 复制字体文件到系统的字体库中
sudo cp -R ../fonts/nerd-fonts-3270  /usr/share/fonts/
sudo cp -R ../fonts/fontawesome-free-5.15.2-desktop  /usr/share/fonts/
sudo cp -R ../fonts/fontawesome-free-5.15.2-web  /usr/share/fonts/

## 更新字体缓存
cd /usr/share/fonts/
sudo mkfontscale
sudo mkfontdir
sudo fc-cache

## 字体管理器
# yay -S font-manager
